package  com.tongji.housediy.events.commonEvent
{
	import com.tongji.housediy.view.components.AbstractDrawingRoom;
	
	import flash.events.Event;
	
	import mx.core.UIComponent;
	
	/**
	 * 
	 * @author chenchao
	 * 
	 */	
	public class RotationRelatedEvent extends Event
	{
		public static const SHOW_ROTATION_BTN:String = "showRotationBtn";
		public static const HIDE_ROTATION_BTN:String = "hideRotationBtn";

		public var initialX:Number;
		public var initialY:Number;
		//////////////////////////////////////by zazisb
		public var room:UIComponent;
		
		public function RotationRelatedEvent(type:String, initialX:Number = Infinity, initialY:Number = Infinity, room:UIComponent = null)
		///////////////////////////////////////////////////
		{
			super(type, true);
			this.initialX = initialX;
			this.initialY = initialY;
			this.room = room;
		}
		
		override public function clone():Event
		{
			return new RotationRelatedEvent(type, initialX, initialY, room);
		}
	}
}